package com.angel.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import com.angel.bean.ProductType;

@Mapper
public interface ProductTypeDao {
    int insert(@Param("productType") ProductType productType);

    int insertSelective(@Param("productType") ProductType productType);

    int insertList(@Param("productTypes") List<ProductType> productTypes);

    int update(@Param("productType") ProductType productType);

    List<ProductType> findProductType(@Param("productType") ProductType productType);
}
